/**
 * 
 */
package riwcMajority;

import java.util.HashSet;
import java.util.Set;

import se.sics.kompics.Init;
import se.sics.kompics.address.Address;

/**
 * @author gianmariospacagna
 *
 */
public final class RIWCMajorityInit extends Init {
	private final Set<Address> neighborSet;
	private final Address self;
	private final int maxR;
	
	
	
	/**
	 * @return the neighborSet
	 */
	public Set<Address> getNeighborSet() {
		return neighborSet;
	}


	/**
	 * @return the self
	 */
	public Address getSelf() {
		return self;
	}


	/**
	 * @return the maxR
	 */
	public int getMaxR() {
		return maxR;
	}


	public RIWCMajorityInit(Set<Address> neighborSet, Address self, int maxR) {
		super();
		this.neighborSet = neighborSet;
		this.self = self;
		this.maxR = maxR;
		
	}	
	
}
